@extends('home.layout.index')

@section('link')
	<link type="text/css" rel="stylesheet" href="/homeassets/examine/link/css/link.2012.css" />
@endsection


@section('content')
			<div class="link_content" style="border:1px solid #ccc;width:70%;height:100%;margin:0 auto">
				<h1 class="link_tit" style="text-align:center;font-size:20px"><b>免费开店</b></h1>
				<ul class="link_step" style="list-style:none;">
				<span style="color:red"><b>阅读开店须知:</b></span>
				<br>
				<span style="color:blue;font-size:14px"><b>　　确认自己符合个人店铺的相关规定</b></span>
					<li style="font-size:14px">1、 <b> 我在agoda已经开了个店了，我用别人的身份证再开一个店可以吗？</b></li>
					<li style="font-size:12px">答：不可以。未经agoda平台同意，将本人agoda账号提供给他人作开店使用，否则由此导致相关争议、诉讼及因店铺经营中的违法违规行为导致一切人身、财产权益损害，均由本人自行承担全部民事、行政及刑事责任。</li>
					<br>
					<li style="font-size:14px">2、<b>我可以把店铺转租给其他人吗?</b></li>
					<li style="font-size:12px">答：不可以。未经agoda平台同意，将本人agoda账号提供给他人作开店使用，否则由此导致相关争议、诉讼及因店铺经营中的违法违规行为导致一切人身、财产权益损害，均由本人自行承担全部民事、行政及刑事责任。</li>
					<br>
					<li style="font-size:14px">3、<b>开agoda店要收费吗?</b></li>
					<li style="font-size:12px">答：agoda开店是免费的，不收取任何服务费用。</li>
					<br>
					<li style="font-size:14px">4、<b>我可以开多个agoda店吗?</b></li>
					<li style="font-size:12px">答：不可以。一张身份证（一张营业执照）只能开一个agoda店铺。如是企业店铺，开店后营业执照不得注销。</li>
					<br>
					<li style="font-size:14px">5、<b>我已经开过agoda店，现在想要注销原来的店铺重新开店，可以吗?</b></li>
					<li style="font-size:12px">答：不可以，agoda暂时不提供注销店铺的服务。用户一但成功开店就无法再用身份证（营业执照）另开一家agoda店铺。</li>
					<li style="color:#ee4531;font-size:12px"> <span style="font-size:14px"><b>！</b></span>	agoda在任何情况下都不会用QQ与您取得联系, 任何使用QQ联系您的"工作人员"都是骗子。</li>
					<br>
					<li id="link_link" style="color:#fff;margin-left:300px;display: inline-block;cursor: pointer;background-color:#0085D7;height: 40px;padding: 0 20px;font-size: 16px;line-height: 38px;border-width: 1px;">
						<span class="link">我已了解,继续开店</span>
					</li>	
				</ul>
			</div>


<style type="text/css">
* { -ms-word-wrap: break-word; word-wrap: break-word; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; }
html, body {height:100%;width:100%; }
html, body, h1, h2, h3, h4, h5, h6, div, ul, ol, li, dl, dt, dd, iframe, textarea, input, button, p, strong, b, i, a, span, del, pre, table, tr, th, td, form, fieldset, .pr, .pc { margin: 0; padding: 0; word-wrap: break-word; font-family: verdana,Microsoft YaHei,Tahoma,sans-serif; *font-family: Microsoft YaHei,verdana,Tahoma,sans-serif; }
body, ul, ol, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset, .pr, .pc, em, del { font-style: normal; font-size: 100%; }
ul, ol, dl { list-style: none; }
._citys { width: 450px; margin-top:400px;display: inline-block; border: 2px solid #eee; background-color:#333;padding: 5px; position: relative; }
._citys span { color: #56b4f8; height: 15px; width: 15px; line-height: 15px; text-align: center; border-radius: 3px; position: absolute; right: 10px; top: 10px; border: 1px solid #56b4f8; cursor: pointer; }
._citys0 { width: 100%; height: 34px; display: inline-block; border-bottom: 2px solid #56b4f8; padding: 0; margin: 0; }
._citys0 li { display: inline-block; line-height: 34px; font-size: 15px; color: #888; width: 80px; text-align: center; cursor: pointer; }
.citySel { background-color: #56b4f8; color: #fff !important; }
._citys1 { width: 100%; display: inline-block; padding: 10px 0; }
._citys1 a { width: 83px; height: 35px; display: inline-block; background-color: #f5f5f5; color: #666; margin-left: 6px; margin-top: 3px; line-height: 35px; text-align: center; cursor: pointer; font-size: 13px; overflow: hidden; }
._citys1 a:hover { color: #fff; background-color: #56b4f8; }
.AreaS { background-color: #56b4f8 !important; color: #fff !important; }
</style>


<link rel="stylesheet" href="/homeassets/examine/css/home.css" />
<link rel="stylesheet" href="/homeassets/examine/css/note_4.css" />
<script src="/homeassets/examine/js/jquery-1.8.3.min.js"></script>
	@if(session('success'))
        <script>
            alert("{{ session('success') }}");
            location.href = '/home/examine/index';
        </script>
    @endif
	<div class="shadow-area j_prop j_prop_6_6 j_shadow_area j_hide" id='div_div2' style="display: none;"></div>
	<div class="prop-area j_prop j_prop_area j_hide" id='div_div' style="display: none; height: 540px; margin-top: -290px; ">
        <div class="discovery-detail j_discover_detail" data-id="58d07e1714de4170510aa356">
            
            <div class="div_div" >
            	<span style="color:#333;text-align:center;font-size:25px"><h1>店铺申请:</h1></span>
				<form id="frm_submit" method="post" action="/home/examine/insert">
					{{ csrf_field() }}
					<div class="col-md-12" id="successs" title="点击隐藏">
                        <div class="card" style="width:432px;margin-left:250px;color: #a94442;background-color: #f2dede;border-color: #ebccd1;">
                            @if(session('success'))
                                <div class="alert alert-success" >
                                    <strong>
                                        {{ session('success') }}
                                    </strong>
                                </div>
                            @endif
                            @if(session('error'))
                                <div class="">
                                    <strong>
                                        {{ session('error') }}
                                    </strong>
                                </div>
                            @endif
                            @if(count($errors) > 0)
                                <div class="alert alert-danger">
                                    <ul style="list-style:none">
                                        @foreach ($errors->all() as $error)
                                            <li>{{ $error }}</li>
                                        @endforeach
                                    </ul>
                                </div>
                            @endif
                        </div>
                    </div>
					<table cellpadding="0" cellspacing="0" class="link_table" width="309" style="font-size:12px;margin-left:250px">
						<tr>
							<td height="29">
								真实姓名：
							</td>
							<td height="29">
								<input id="uname_uname" name="uname" type="text" value="{{ old('uname') }}" class="w247" />
								<span></span>
							</td>
						</tr>
						<tr>
							<td height="29">
								手机号：
							</td>
							<td height="29">
								<input id="phone_phone" name="phone" type="text" value="{{ old('phone') }}" class="w247" />
								<span></span>
							</td>
						</tr>
						<tr>
							<td height="29">
								电子邮箱：
							</td>
							<td height="29">
								<input id="email_email" name="email" type="email" value="{{ old('email') }}" class="w247" />
								<span></span>
							</td>
						</tr>
						<tr>
							<td height="29">
								店铺地址：
							</td>
							<td height="29">
								<div style="width:420px;">
									<input type="text" id="city" name="address" class="w247" value="{{ old('address') }}" />
									<span></span>
								</div>
							</td>
						</tr>
						<tr>
							<td height="29">
								店铺名称：
							</td>
							<td height="29">
								<input id="name" name="name" type="text" value="{{ old('name') }}" class="w247" />
								<span></span>
							</td>
						</tr>
						<tr>
							<td height="29">
								店铺分类：
							</td>
							<td height="29">
								<select name="type" class="selt selt1" id="type" style="width:250px;height:25px">
                                    <option value=""  selected="selected"></option>
                                    @foreach($data as $k=>$v)
                                    <option value="{{ $v['classname'] }}">{{ $v['classname'] }}</option>
                                	@endforeach
                                </select>
                                <span></span>
							</td>
						</tr>
						<tr>
							<td height="45" colspan="2" align="center" valign="middle">
								<button type="submit" name="mode"  style="color: #fff; background-color: #31b0d5;font-size: 14px;margin-left:-100px;margin-right:20px;width:100px;height:34px;border-color: #269abc;"> 申请</button>　
	                			<button type="reset" name="mode"  style="color: #fff; background-color: #d9534f;font-size: 14px;width:112px;height:34px;border-color: #d43f3a;"> 重置</button>
							</td>
						</tr>
					</table>
				</form> 
			</div>
        </div>
    </div>
	<div class="prop-qrcode-area j_prop_6_6 j_qrcode_area j_hide"></div>
		<div class="pageBottom">
		<style type="text/css">.pageBottom .bottom-nav a{width: 110px;}</style>
	</div>
	
    <script src="/homeassets/examine/js/community.js"></script>

    @section('js')
	<!-- 店铺申请错误显示特效 --> 
	<script src="/homeassets/examine/link/js/link.js"></script>
	@endsection

	<!-- 三级联动 -->
	<script src="/homeassets/examine/liandong/js/jquery-1.11.3.min.js"></script>
	<script src="/homeassets/examine/liandong/js/Popt.js"></script>
	<script src="/homeassets/examine/liandong/js/cityJson.js"></script>
	<script src="/homeassets/examine/liandong/js/citySet.js"></script>
	<script type="text/javascript">
	$(function(){
		$("#city").click(function (e) {
			SelCity(this,e);
		});
	})
	</script>
	<!-- 联动结束 -->
@endsection
